package com.lap.starter.adapter.driving;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import com.lap.framework.dto.result.Result;
import com.lap.starter.application.dto.ApiClientDto;

@FeignClient(name = "${auth.client:auth}", path = "api/v1/apis")
public interface ApiClient {

  @PostMapping("remote")
  Result<Void> createApi(ApiClientDto dto);
}
